module.exports = {
  configureWebpack: config => {
    require('@vux/loader').merge(config, {
      plugins: ['vux-ui', {
        name: 'less-theme',
        path: 'src/libs/theme.less'
      }]
    })
  },
  productionSourceMap: false,
  devServer: {
    proxy: {
      '/newproject': {
        target: 'http://180.101.226.58:8100',
        changeOrigin: true
      },
      '/ystApp': {
        target: 'http://180.101.226.58:8100',
        changeOrigin: true
      }
    }
  }
}
